<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<title>Document</title>
		<link type="text/css" rel="stylesheet" href="./ttxDate.css"/>
	</head>
	<body>
		<div class="wrapper">
		</div>
	</body>
	<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
	<script src="./calendarEv.js"></script>
	<script>
		$('.wrapper').evDate({
			url: 'StandardLoginAction_test.action',
			addEvent: {
				//icon:'<svg t="1597998068511" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1166" width="16" height="16"><path d="M512.4 862.2c-7 0-14.1-1.5-20.8-4.4-60.7-26.9-364.9-173.8-389-428.5-6.5-68.4 15.2-136.6 59.5-187.2 41.9-47.8 99.7-75.5 162.7-77.9 73.1-2.8 141.6 28 187.6 83.4 46.1-55.4 114.6-86.3 187.6-83.4 63 2.4 120.8 30.1 162.7 77.9 44.3 50.6 65.9 118.8 59.5 187.2-4.6 49.1-20 97.5-45.7 143.8-5 8.9-16.2 12.1-25 7.2-8.9-4.9-12.1-16.1-7.2-25 23.2-41.8 37.1-85.3 41.3-129.4 5.5-58.4-12.9-116.5-50.5-159.5-35.2-40.2-83.6-63.4-136.4-65.4-69.1-2.6-132.8 30.1-170.9 87.6-3.4 5.1-9.2 8.2-15.3 8.2-6.2 0-11.9-3.1-15.3-8.2-38.2-57.5-101.9-90.2-170.9-87.6-52.8 2-101.2 25.2-136.4 65.4-37.6 43-56 101.1-50.5 159.5C161.4 660 449 798.6 506.5 824c3.8 1.7 8 1.7 11.9 0 17.2-7.6 44.6-20.6 77.6-39.4 8.8-5 20-2 25.1 6.9 5 8.8 1.9 20.1-6.9 25.1-34.3 19.5-62.9 33.1-80.8 41-6.9 3.1-14 4.6-21 4.6z" p-id="1167" fill="#d4237a"></path><path d="M904.9 767.6H683.3c-10.2 0-18.4-8.2-18.4-18.4s8.2-18.4 18.4-18.4h221.6c10.2 0 18.4 8.2 18.4 18.4 0 10.1-8.2 18.4-18.4 18.4z" p-id="1168" fill="#d4237a"></path><path d="M794.1 878.4c-10.2 0-18.4-8.2-18.4-18.4V638.4c0-10.2 8.2-18.4 18.4-18.4s18.4 8.2 18.4 18.4V860c0 10.1-8.2 18.4-18.4 18.4z" p-id="1169" fill="#d4237a"></path></svg>'
				event: test
			},
			lang:'zh',
			width:1200, //'auto'
			height:850,
			type: 'daily', //类型 daily 日 week 周 month 月
			/* evContent:[{
				name:
				icon:
				event:
			}], */
			fillText: function(data) {
				return data.person + '&nbsp;&nbsp;' + data.date1;
			},
			onSuccess:function(){
				//alert('调用成功');
			},
			onError:function(){
				alert('调用失败');
			}
		});

		function test(data) {
			alert('你选择的日期为' + data);
		}
	</script>


</html>
